package com.h3c.ptability.mapstruct;

import com.h3c.ptability.entity.PtEsignRecordInfo;
import com.h3c.ptability.vo.PtEsignRecordInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author chenyifan
 * @date 2022/5/31 16:39
 */
@Mapper
public interface PtEsignRecordInfoMapstruct {

    PtEsignRecordInfoMapstruct INSTANCE = Mappers.getMapper(PtEsignRecordInfoMapstruct.class);

    /**
     * 实体类列表转成VO列表
     * @param recordList
     * @return
     */
    List<PtEsignRecordInfoVO> entityListToVoList(List<PtEsignRecordInfo> recordList);
}
